<div class="section">
    <include file="header" />
    <div class="system-form">
    <div class="panel panel-default">
    <div class="panel-body">
        <form class="form-horizontal" action="<{$act_url}>" method="post" role="form">
            <input type="hidden" name="role_id" value="<{$data.role_id}>" />
            <div class="form-group">
                <label class="col-sm-2 control-label"><span class="form-start">*</span>角色名：</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" name="role_name" placeholder="请填写角色名" required value="<{$data.role_name}>">
            </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label"><span class="form-start">*</span>权限设置：</label>
                <div class="col-sm-10">
                <volist name="per_list" id="vo">
                <label class="checkbox-inline">
				  <input type="checkbox" value="<{$vo.uses}>" name="permission[]" 
				  <if condition="in_array($vo['uses'],$role_per_list)">checked</if>
				  > <{$vo.lable}>
				</label>
				</volist>
            </div>
            </div>
            <div class="form-group col-sm-8 pull-right">
            <div class="col-sm-6">
                <button type="submit" class="btn btn-success btn-lg">保存</button>
            </div>  
            
            </div>
            
        </form>
    </div>
</div>
</div>
</div>
